package com.jr.service.impl;

import com.jr.mapper.UserAndPositionMapper;
import com.jr.pojo.SearchJob;
import com.jr.service.UserAndPositionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class UserAndPositionServiceImpl implements UserAndPositionService {
    @Autowired
    private UserAndPositionMapper userAndPositionMapper;

    @Override
    public Boolean updateConcernOk(SearchJob searchJob) {
        return userAndPositionMapper.updateConcernOk(searchJob)!=0?true:false;
    }
    @Override
    public Boolean updateConcernNo(SearchJob searchJob) {
        return userAndPositionMapper.updateConcernNo(searchJob)!=0?true:false;
    }

    @Override
    public Boolean updateApplyOk(SearchJob searchJob) {
        return userAndPositionMapper.updateApplyOk(searchJob)!=0?true:false;
    }
    @Override
    public Boolean updateApplyNo(SearchJob searchJob) {
        return userAndPositionMapper.updateApplyNo(searchJob)!=0?true:false;
    }
}
